import request from '@/utils/request'

//查询所有
export function getAll(data) {
  return request({
    url: '/service-product/tVehicleInformation/vehicleInformationList',
    method: 'get',
    params: data
  })
}
//添加
export function add(data) {
  return request({
    url: '/service-product/tVehicleInformation/vehicleInformationAdd',
    method: 'post',
    params: data
  })
}
//修改
export function update(data) {
  return request({
    url: '/service-product/tVehicleInformation/vehicleInformationUpdate',
    method: 'put',
    params: data
  })
}
//删除
export function del(id) {
  return request({
    url: '/service-product/tVehicleInformation/vehicleInformationDelete',
    method: 'delete',
    params:{id:id}
  })
}